.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-item {
  margin: 0 10px;
}

.category-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.category-item.active a {
  color: #fff;
  background: #009688;
  border-radius: 20px;
  padding: 5px 15px;
}

.all-btn {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 5px 15px;
}


.sub-category {
  position: fixed;
  top: 60px;
  left: 0;
  width: 150px;
  background: #f9f9f9;
  height: calc(100vh - 60px);
  overflow-y: auto;
}

.sub-category ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sub-category li {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.sub-category li:hover {
  background: #f0f0f0;
}


.product-list {
  margin-left: 150px;
  padding: 20px;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.product-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.product-item h3 {
  margin: 0;
  font-size: 16px;
}

.product-item p {
  font-size: 12px;
  color: #666;
}

.price {
  font-size: 18px;
  color: #e6400f;
}

.add-btn {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
}

.add-btn:hover {
  background: #f0f0f0;
}
